Skip to content

[Release] Stage to Main#834

Merged
sanjayms01 merged 3 commits into
mainfrom
release-062526
Jun 25, 2026
Merged

[Release] Stage to Main#834
sanjayms01 merged 3 commits into
mainfrom
release-062526

Conversation

@sanjayms01

@sanjayms01 sanjayms01 commented Jun 25, 2026

Copy link
Copy Markdown
Collaborator

Resolves: MWPW-NUMBER

Test URLs:

vipulg and others added 3 commits June 25, 2026 07:13
* Fix distorted aspect ratio on Remove Background for iPhone portrait
photos by correcting EXIF orientation before upload
* Add readExifOrientation to read the EXIF orientation tag from JPEG
headers without loading the full image
* Add correctOrientation to redraw JPEG to canvas pre-upload, baking in
correct pixel orientation for the RemoveBackground API
* Gate orientation correction to mobile only — desktop JPEGs are
unaffected and incur no overhead
* Skip canvas re-encoding entirely if EXIF orientation is already
correct (value 1), avoiding unnecessary processing for screenshots and
pre-processed images

Resolves: [MWPW-199518](https://jira.corp.adobe.com/browse/MWPW-199518)

**Test URLs:**
- Before:
https://stage--da-cc--adobecom.aem.live/products/firefly/features/remove-background?unitylibs=stage
- After:
https://stage--da-cc--adobecom.aem.live/products/firefly/features/remove-background?unitylibs=MWPW-199518

**Testing Use Cases**
- Upload a recently taken iPhone portrait photo on adobe.com Remove
Background page on iPhone Safari (iOS 18.x) and verify the result image
is not distorted
- Upload the same photo on desktop browser and verify it processes
correctly with no regression
- Upload a PNG and WebP file on iPhone Safari and verify they are
unaffected by the change
- Upload a JPEG screenshot or downloaded image (no EXIF rotation) on
iPhone Safari and verify the canvas re-encoding step is skipped (result
should be identical to before)
- Upload a landscape iPhone photo and verify it processes correctly with
no distortion

---------

Co-authored-by: Sanjay Saravanan <saravana@adobe.com>
@aem-code-sync

aem-code-sync Bot commented Jun 25, 2026

Copy link
Copy Markdown

Hello, I'm the AEM Code Sync Bot and I will run some actions to deploy your branch and validate page speed.
In case there are problems, just click a checkbox below to rerun the respective action.

  • Re-run all PSI checks
  • Re-run failed PSI checks
  • Re-sync branch
Commits

@sanjayms01 sanjayms01 changed the base branch from stage to main June 25, 2026 14:16
@asonnalagi

Copy link
Copy Markdown
Collaborator

Stage validation looks fine. Test results are in the task: MWPW-199573

@sanjayms01 sanjayms01 merged commit f1ed0b1 into main Jun 25, 2026
8 of 10 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants